package com.rong.shop.service;

import com.rong.shop.pojo.User;

public interface IUserService {

    void reg(User user);

    User login(String username, String password);

    User getUserByUid(int uid);

    void changePwd(int uid, String username, String oldPwd, String newPwd);

    void changeAvatar(int uid, String username, String avatar);

    void changeInfo(int uid, String username, User user);

}
